<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./utils.js"></script>
</head>
<body>
    <script>
        console.log(utils.date.formatDate(new Date(),'yyyy-MM-dd'));
        console.log(utils.request.getQueryString("username"));
        console.log(utils.date.timeStamp());
        console.log(utils.file.getExtension("a.mp3"));
        console.log(utils.string.cutStr("天气不错abcd",5));
        console.log(utils.number.numberToChinese("15345010000"));
        console.log(utils.number.identityCodeValid("210782197611302821"));
        console.log(utils.request.getHost());
        console.log(utils.request.getHostName());
        console.log(utils.request.getProtocol ());
        console.log(utils.request.getUrl ());
        console.log(utils.request.getPort ());
        console.log(utils.request.getPathName ());
        console.log(utils.request.ltIe9 ());
        var arr=['a','b','c']
        var arr1=[1,2,3,4]
        console.log(utils.array.arySum(arr1))
    </script>
</body>
</html>